import tkinter as tk
top = tk.Tk()
top.title('tk')
top.resizable(False, False)
ipx=0
##line1##
line1=tk.Frame(top)
line1.pack(side = tk.TOP, fill = tk.X)
n1=101

btn11=tk.Button(line1, text = '1.1', width = n1)
btn11.pack(side = tk.LEFT, ipadx = ipx)

btn12=tk.Button(line1, text = '1.2', width = n1)
btn12.pack(side = tk.LEFT, ipadx = ipx)

btn13=tk.Button(line1, text = '1.3', width = n1)
btn13.pack(side = tk.LEFT, ipadx = ipx)

btn14=tk.Button(line1, text = '1.4', width = n1)
btn14.pack(side = tk.LEFT, ipadx = ipx)
##line2##
line2=tk.Frame(top)
line2.pack(side = tk.TOP, fill = tk.X)
n2=136

btn21=tk.Button(line2, text = '2.1', width =n2)
btn21.pack(side = tk.LEFT, ipadx = ipx)

btn22=tk.Button(line2, text = '2.2', width = n2)
btn22.pack(side = tk.LEFT, ipadx = ipx)

btn23=tk.Button(line2, text = '2.3', width = n2)
btn23.pack(side = tk.LEFT, ipadx = ipx)
##line3##
line3=tk.Frame(top)
line3.pack(side = tk.TOP, fill = tk.X)
n3=80

btn31=tk.Button(line3, text = '3.1', width = n3)
btn31.pack(side = tk.LEFT, ipadx = ipx)

btn32=tk.Button(line3, text = '3.2', width = n3)
btn32.pack(side = tk.LEFT, ipadx = ipx)

btn33=tk.Button(line3, text = '3.3', width = n3)
btn33.pack(side = tk.LEFT, ipadx = ipx)

btn34=tk.Button(line3, text = '3.4', width = n3)
btn34.pack(side = tk.LEFT, ipadx = ipx)

btn35=tk.Button(line3, text = '3.5', width = n3)
btn35.pack(side = tk.LEFT, ipadx = ipx)

top.mainloop()